package com.hyfrogx.modules.app.form.alipay;

import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/**
 * @Author: Luo
 * @Date: 2019/12/9 15:09
 */
@Data
public class FreeSignGetForm {

    @NotNull(message = "自定义价格不能为空")
    @Min(value = 108,message = "自定义充值最低金额为108元")
    @Max(value = 100000,message = "自定义价格不能大于100000元")
    private Integer price;

    //@NotNull(message = "类型不能为空")
    private Integer type;
}
